<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Bootstrap Admin</title>
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<link rel="stylesheet" type="text/css" href="__APP__/Resource/lib/bootstrap/css/bootstrap.css">
<link rel="stylesheet" type="text/css" href="__APP__/Resource/style/theme.css">
<link rel="stylesheet" href="__APP__/Resource/lib/font-awesome/css/font-awesome.css">
<link rel="stylesheet" href="__APP__/Resource/lib/bootstrap-fileupload/bootstrap-fileupload.min.css">
<link rel="stylesheet" href="__APP__/Resource/lib/bootstrap-wysihtml5/bootstrap-wysihtml5.css">
<script src="__APP__/Resource/lib/jquery-1.8.1.min.js" type="text/javascript"></script>
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
</head>

<!--[if lt IE 7 ]> <body class="ie ie6"> <![endif]-->
<!--[if IE 7 ]> <body class="ie ie7 "> <![endif]-->
<!--[if IE 8 ]> <body class="ie ie8 "> <![endif]-->
<!--[if IE 9 ]> <body class="ie ie9 "> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!-->
<body class="">
<!--<![endif]-->
<include file="./Tpl/Public/header.html" />
<include file="./Tpl/Public/sidebar-nav.html" />
<div class="content">
      <div class="header">
    <h1 class="page-title">商品管理</h1>
  </div>
      <ul class="breadcrumb">
    <li><a href="index.html">首页</a> <span class="divider">/</span></li>
    <li class="active">商品管理</li>
  </ul>
      <div class="container-fluid">
    <div class="row-fluid">
          <div class="btn-toolbar"> <a href="list.php" role="button" class="btn btn-primary">列表</a> <a href="#" role="button" class="btn">导入</a> <a href="#" role="button" class="btn">导出</a>
        <div class="btn-group"> </div>
      </div>
          <div class="well">
        <form>
              <table>
            <tr>
                  <td align="right">商品标题：</td>
                  <td><input class="input-xxlarge" type="text" placeholder="请输入标题" value="<?php echo $data['title']; ?>"></td>
                </tr>
            <tr>
                  <td>商品图片：</td>
                  <td><div class="fileupload fileupload-new" data-provides="fileupload">
                      <div class="fileupload-new thumbnail" style="width: 150px; height: 150px;"><img src="../../Uploads/Goods/<?php echo $data['picture']; ?>" width="150" height="150" /></div>
                      <div class="fileupload-preview fileupload-exists thumbnail" style="max-width: 150px; max-height: 150px; line-height: 20px;"></div>
                      <div> <span class="btn btn-file"><span class="fileupload-new">选择一张图片</span><span class="fileupload-exists">替换</span>
                        <input type="file" />
                        </span> <a href="#" class="btn fileupload-exists" data-dismiss="fileupload">移除</a> </div>
                    </div></td>
                </tr>
            <tr>
                  <td align="right">发布平台：</td>
                  <td>
                  <label class="checkbox inline"><input type="checkbox" id="inlineCheckbox1" value="option1">淘宝平台 </label>
                  <label class="checkbox inline"><input type="checkbox" id="inlineCheckbox2" value="option2">速卖通 </label>
                  <label class="checkbox inline"><input type="checkbox" id="inlineCheckbox3" value="option3">阿里巴巴 </label>
                  </td>
                </tr>
            <tr>
                  <td align="right">采购价：</td>
                  <td><input class="span3" type="text" placeholder="保留小数点两位" value="<?php echo $data['purchasing_price']; ?>"></td>
                </tr>
            <tr>
                  <td align="right">商品描述：</td>
                  <td><textarea class="textarea" placeholder="Enter text ..." style="width: 800px; height: 200px"><?php echo $data['content']; ?></textarea></td>
                </tr>
            <tr>
                  <td align="right"></td>
                  <td><button type="submit" class="btn btn-primary">保存</button>
                <button type="button" class="btn">取消</button></td>
                </tr>
          </table>
            </form>
      </div>
      <footer>
        <hr>
        
        <!-- Purchase a site license to remove this link from the footer: http://www.portnine.com/bootstrap-themes -->
        <p class="pull-right">A <a href="http://www.portnine.com/bootstrap-themes" target="_blank">Free Bootstrap Theme</a> by <a href="http://www.portnine.com" target="_blank">Portnine</a></p>
        <p>&copy; 2012 <a href="http://www.portnine.com" target="_blank">Portnine</a></p>
      </footer>
    </div>
  </div>
</div>
<script src="__APP__/Resource/lib/bootstrap/js/bootstrap.js"></script> 
<script src="__APP__/Resource/lib/bootstrap-wysihtml5/wysihtml5-0.3.0.min.js"></script> 
<script src="__APP__/Resource/lib/bootstrap-fileupload/bootstrap-fileupload.min.js"></script> 
<script src="__APP__/Resource/lib/bootstrap-wysihtml5/bootstrap-wysihtml5.js"></script> 
<script type="text/javascript">
        $("[rel=tooltip]").tooltip();
        $('.textarea').wysihtml5();
        $('.fileupload').fileupload();
        $(function() {
            $('.demo-cancel-click').click(function(){return false;});
            
        });
    </script>
</body>
</html>